icontheme: allow directories with mtime 0
authorDaniel Drake <drake@endlessm.com>
Mon, 23 Feb 2015 20:49:08 +0000 (14:49 -0600)
committerDaniel Drake <drake@endlessm.com>
Mon, 23 Feb 2015 21:09:15 +0000 (15:09 -0600)
commitaba2de34436035513b11faa2da4c7c56cc38ede9
tree26efc53d13dc74ad868e9ae439a2dec0d322ace5
parent761c7811685387ac51b579d1765eb6f8fb91c461
icontheme: allow directories with mtime 0

In order to provide a constant mtime between OS build and deploy time,
while also maintaining a hardlink content-addressed model independent of
timestamps, ostree sets all mtimes to 0.

The icon cache code currently ignores directories with mtime 0, assuming
they don't exist.

Track directory existence in a more precise way.

https://bugzilla.gnome.org/show_bug.cgi?id=745052
gtk/gtkicontheme.c